<div id="account_activation_running" style="text-align:center;padding:140px;">
    <img src="<?php echo $this->baseUrl(); ?>/images/ajax-loader.gif" />
    <br />
    <br />
    <?php echo $this->translate('account_activation_running_please_wait'); ?>
</div>
<div id="account_activation_success" style="text-align:center;padding:140px;display:none;">
    <?php echo $this->translate('account_activation_success'); ?>
</div>
<div id="account_activation_fail" style="text-align:center;padding:140px;display:none;">
    <?php echo $this->translate('account_activation_fail'); ?>
</div>
<script type="text/javascript">
$(function() {
    $.post(window.location.href, {run : true}, function(response) {
        $('#account_activation_running').hide();
        if (response == '1') {
            $('#account_activation_success').show();
        } else {
            $('#account_activation_fail').show();
        }
    });
});
</script>